import axiosserver from '../utils/request'

export function getPics(params = {}) {
  return axiosserver({
    method: 'GET',
    url: '/pic',
    params,
  })
}

export function picLike(params) {
  return axiosserver({
    method: 'POST',
    url: '/pic/like',
    data: params,
  })
}
